﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.Mapping;
using BLToolkit.DataAccess;

namespace Entities
{
    public class DiaChi
    {
        [MapField("IdDiaChi"), PrimaryKey]
        public string MaDiaChi { get; set; }
        public string SoNha { get; set; }
        public string TenDuong { get; set; }
        public string QuanHuyen { get; set; }
        public string TinhTP { get; set; }

        [Association(ThisKey = "IdDiaChi", OtherKey = "IdNhanVien")]
        public NhanVien NhanViens { get; set; }
    }
}
